package com.ocom.webapi.service;

import com.ocom.common.resp.Result;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDate;
import java.util.Date;

/**
 * 厦门第一医院 菜单B 导入服务
 */
public interface ImportMealMenuBService {

	/**
	 * @param comId
	 * @param file
	 * @return
	 * @throws Exception
	 */
	Result<String> importMealMenuB(Integer comId, MultipartFile file, String planName, Integer pointId, Integer dishesClassId,
																 LocalDate startDate, LocalDate stopDate, String remark,String tagId) throws Exception;

	Result<String> importMealMenuC(Integer comId, MultipartFile file, String planName, Integer pointId, Integer dishesClassId,
								   LocalDate startDate, LocalDate stopDate, String remark, String tagId) throws Exception;

	/**
	 * 检查排餐名是否已经存在
	 *
	 * @param planname
	 * @return
	 */
	boolean checkPlanNameExist(Integer comId, String planname);

}
